using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace DAL
{
    // Most of these classes are empty right now, but
    // I'll add something later so that exceptions are logged in a special 
    // "exceptions log" table.
    public class ForumPermissionsException : ApplicationException
    {
        public ForumPermissionsException(string message) : base(message)
        {
            
        }
    }

    public class ForumCircularReferenceException : ApplicationException
    {
        public ForumCircularReferenceException(string message)
            : base(message)
        {

        }
    }

    public class ThreadNullForumException : ApplicationException
    {
        public ThreadNullForumException(string message)
            : base(message)
        {

        }
    }

    public class PostNullThreadException : ApplicationException
    {
        public PostNullThreadException(string message)
            : base(message)
        {

        }
    }

    public class DataManagerItemNotFound : ApplicationException
    {
        public DataManagerItemNotFound(string message)
            : base(message)
        {

        }
    }

    public class DataManagerItemAlreadyExists : ApplicationException
    {
        public DataManagerItemAlreadyExists(string message)
            : base(message)
        {

        }
    }

    public class DataManagerItemUninitialized : ApplicationException
    {
        public DataManagerItemUninitialized(string message)
            : base(message)
        {

        }
    }
}